    location ~ \.php {
        root /data0/htdocs/www;
        fastcgi_pass 127.0.0.1:9000;
        include   fastcgi.conf;
        set $path_info "";
        set $fastcgi_script_name_new $fastcgi_script_name;

        if ($fastcgi_script_name ~*   "^(.+\.php)(/.+)$"  ) {
        set $fastcgi_script_name_new $1;
        set $path_info $2;
        }

        fastcgi_param   SCRIPT_FILENAME   $document_root$fastcgi_script_name_new;
        fastcgi_param   SCRIPT_NAME   $fastcgi_script_name_new;
        fastcgi_param   PATH_INFO $path_info;
    }